package com.zsl.blog.api.service;

import com.zsl.blog.api.dao.pojo.SysUser;
import com.zsl.blog.api.vo.Result;
import com.zsl.blog.api.vo.params.LoginParam;

public interface SysUserService {
     SysUser findUser(String userName,String password);


    SysUser findUserById(Long id);

    Result findUserByToken(String token);

    SysUser findUserByAccount(String userName);

    void register(SysUser user);
}
